package cn.hashcode;

import org.junit.Test;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class TestHashCode {
    @Test
    public void test1(){
        String str2 = "通信";
        String str = "重地";
        System.out.println(str.equals(str2));
        System.out.println(str.hashCode());
        System.out.println(str2.hashCode());

    }
}
